using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace WinForm
{
    public partial class FormPayAndFund : Form
    {
        #region variable
        public Point FormLocation;
        #endregion
        public FormPayAndFund() : this(new Point(100, 100)) { }
        public FormPayAndFund(Point formLocation)
        {
            InitializeComponent();

            this.FormLocation = formLocation;
        }

        private void FormPayAndFund_Load(object sender, EventArgs e)
        {
            this.Location = this.FormLocation;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
